//
//  CareDataSource.h
//  tcpoctest
//
//  Created by gump on 4/10/13.
//  Copyright (c) 2013 gump. All rights reserved.
//

@interface CareDataSource : NSObject
{
    pthread_mutex_t     mmutex;
    NSMutableArray      *showarr;
    int                 mcarelength;
    int                 mTobeRead;
}

-(void)SetCareLength:(int)length;
-(int)GetCareLenght;
-(int)GetShowArrCount;
-(void)RemoveAllShowArr;
-(int)GetTobeRead;
-(void)SetTobeRead:(int)iread;
-(void)AddShowArrObject:(NSString *)mail;
-(NSString *)GetShowArrObjectByIndex:(int)index;
-(bool)IsShowArrContainsObject:(NSString *)mail;
-(void)InSertShowArrObject:(NSString *)mail withIndex:(int)index;
-(void)RemoveShowArrObject:(NSString *)mail;

@end
